package com.s59.rabc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.s59.rabc.commen.LoginException;
import com.s59.rabc.commen.Token;
import com.s59.rabc.entity.User;
import com.s59.rabc.entity.vo.LoginVo;
import org.springframework.stereotype.Service;

public interface ILoginService extends IService<User> {
    Token login(LoginVo loginVo) throws LoginException;

    void logout(String token);

    Token ssLogin(LoginVo loginVo);
}
